C Program to calculate power of number